package com.wuliu.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wuliu.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.wuliu.common.core.domain.BaseEntity;

/**
 * 广告设置对象 bas_adv_set
 * 
 * @author realue
 * @date 2023-11-09
 */
@ApiModel
public class BasAdvSet extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty(value = "${comment}")
    private String id;

    /** 终端 1.小程序 2.app 3.后台 */
    @Excel(name = "终端 1.小程序 2.app 3.后台")
    @ApiModelProperty(value = "终端 1.小程序 2.app 3.后台")
    private Integer type;

    /** 广告位置 1.首页 2.其它页 */
    @Excel(name = "广告位置 1.首页 2.其它页")
    @ApiModelProperty(value = "广告位置 1.首页 2.其它页")
    private Integer position;

    /** 广告名称 */
    @Excel(name = "广告名称")
    @ApiModelProperty(value = "广告名称")
    private String advName;

    /** 广告类型：1、图片 2、视频 3、小程序 */
    @Excel(name = "广告类型：1、图片 2、视频 3、小程序")
    @ApiModelProperty(value = "广告类型：1、图片 2、视频 3、小程序")
    private Integer advType;

    /** 广告地址（图片、视频URL） */
    @Excel(name = "广告地址", readConverterExp = "图=片、视频URL")
    @ApiModelProperty(value = "广告地址")
    private String advUrl;

    /** 点击跳转链接 */
    @Excel(name = "点击跳转链接")
    @ApiModelProperty(value = "点击跳转链接")
    private String jumpUrl;

    /** 开始时间 */
    @Excel(name = "开始时间")
    @ApiModelProperty(value = "开始时间")
    private String beginTime;

    /** 结束时间 */
    @Excel(name = "结束时间")
    @ApiModelProperty(value = "结束时间")
    private String endTime;

    /** 0.无效 1.有效 */
    @Excel(name = "0.无效 1.有效")
    @ApiModelProperty(value = "0.无效 1.有效")
    private Integer enabled;

    /** 顺序 */
    @Excel(name = "顺序")
    @ApiModelProperty(value = "顺序")
    private Integer orderNo;

    /** 跳转小程序的appid */
    @Excel(name = "跳转小程序的appid")
    @ApiModelProperty(value = "跳转小程序的appid")
    private String appId;

    /** 跳转小程序页面url */
    @Excel(name = "跳转小程序页面url")
    @ApiModelProperty(value = "跳转小程序页面url")
    private String pagePath;

    /** 账套号 */
    @Excel(name = "账套号")
    @ApiModelProperty(value = "账套号")
    private String sysAccount;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setPosition(Integer position) 
    {
        this.position = position;
    }

    public Integer getPosition() 
    {
        return position;
    }
    public void setAdvName(String advName) 
    {
        this.advName = advName;
    }

    public String getAdvName() 
    {
        return advName;
    }
    public void setAdvType(Integer advType) 
    {
        this.advType = advType;
    }

    public Integer getAdvType() 
    {
        return advType;
    }
    public void setAdvUrl(String advUrl) 
    {
        this.advUrl = advUrl;
    }

    public String getAdvUrl() 
    {
        return advUrl;
    }
    public void setJumpUrl(String jumpUrl) 
    {
        this.jumpUrl = jumpUrl;
    }

    public String getJumpUrl() 
    {
        return jumpUrl;
    }
    public void setBeginTime(String beginTime) 
    {
        this.beginTime = beginTime;
    }

    public String getBeginTime() 
    {
        return beginTime;
    }
    public void setEndTime(String endTime) 
    {
        this.endTime = endTime;
    }

    public String getEndTime() 
    {
        return endTime;
    }
    public void setEnabled(Integer enabled) 
    {
        this.enabled = enabled;
    }

    public Integer getEnabled() 
    {
        return enabled;
    }
    public void setOrderNo(Integer orderNo) 
    {
        this.orderNo = orderNo;
    }

    public Integer getOrderNo() 
    {
        return orderNo;
    }
    public void setAppId(String appId) 
    {
        this.appId = appId;
    }

    public String getAppId() 
    {
        return appId;
    }
    public void setPagePath(String pagePath) 
    {
        this.pagePath = pagePath;
    }

    public String getPagePath() 
    {
        return pagePath;
    }
    public void setSysAccount(String sysAccount) 
    {
        this.sysAccount = sysAccount;
    }

    public String getSysAccount() 
    {
        return sysAccount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("position", getPosition())
            .append("advName", getAdvName())
            .append("advType", getAdvType())
            .append("advUrl", getAdvUrl())
            .append("jumpUrl", getJumpUrl())
            .append("beginTime", getBeginTime())
            .append("endTime", getEndTime())
            .append("enabled", getEnabled())
            .append("orderNo", getOrderNo())
            .append("appId", getAppId())
            .append("pagePath", getPagePath())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("sysAccount", getSysAccount())
            .toString();
    }
}
